package main

import "fmt"

const (
	F2  = 200
	F1  = 100
	P50 = 50
	P20 = 20
	P10 = 10
	P5  = 5
	P2  = 2
	P1  = 1
)

func main() {
	index := 0
	for iF2 := 0; iF2*F2 <= F2; iF2++ {
		for iF1 := 0; iF2*F2+iF1*F1 <= F2; iF1++ {
			for iP50 := 0; iF2*F2+iF1*F1+iP50*P50 <= F2; iP50++ {
				for iP20 := 0; iF2*F2+iF1*F1+iP50*P50+iP20*P20 <= F2; iP20++ {
					for iP10 := 0; iF2*F2+iF1*F1+iP50*P50+iP20*P20+iP10*P10 <= F2; iP10++ {
						for iP5 := 0; iF2*F2+iF1*F1+iP50*P50+iP20*P20+iP10*P10+iP5*P5 <= F2; iP5++ {
							for iP2 := 0; iF2*F2+iF1*F1+iP50*P50+iP20*P20+iP10*P10+iP5*P5+iP2*P2 <= F2; iP2++ {
								index++
							}
						}
					}
				}
			}
		}
	}
	fmt.Println(index)
}
